package com.offcn.mapper;

import com.offcn.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int insertOrder(Order order);
     //根据uid来进行查询订单
     List<Order> selectById(@Param("uid") int uid);

     //根据id 来进行插叙
      Order  selectByKeyId(@Param("id") int id);
}
